package com.Lishuai.Mapper;

import com.Lishuai.Pojo.Book;
import com.Lishuai.Pojo.User;

import java.util.List;

public interface UserMapper {
    //用户登录
    public User login(User user);
    //用户注册
    public int addUser(User user);
    //用户更换头像
    public void changeHeadImg(int id, String image);

    //购买
    public void buyBook(int id,double price);
    public String getImage(int id);
    public String recharge(int id,double money);
}
